<!DOCTYPE html>
<html>
  <head>
    <title>hello world</title>
    <meta charset="utf-8">
  </head>
  <body>
    <div id="react">
      <!-- my react app renders here -->
    </div>
    <script src="js/react.js"></script>
    <script src="js/react-dom.js"></script>
    <script>
      ReactDOM.render(
        React.DOM.p(
		{
		  id:"myId",
		  className:"myClass", //这里class变成了className
		  style:{  //这里styel的赋值方式变为了字符串
		  color:"red",
		  fontSize:"20px",  //这里也要注意下，由多个单词组成的属性名应该写成这种形式，如 colspan-->colSpan , background-color--->backgroundColor
		  border:"5px blue solid"
		  }
		}
		, "hello world"),
        document.getElementById("react")
      );
    </script>
  </body>
</html>